.px2rem(@name, @px) {
    @{name}: @px / 75 * 1rem;
}
body,html{
    width: 100%;
    height: 100%;
    background: #f7f7f7;
}
.tan{
         display: -webkit-box;
         display: -moz-box;
         }
.pl(@w) {
    .px2rem(padding-left,@w)
}
.pr(@w) {
    .px2rem(padding-right,@w)
}
.pt(@w) {
    .px2rem(padding-top,@w)
}
.mt(@w) {
    .px2rem(margin-top,@w)
}
header{
    .px2rem(height,98);
    background: #e4366b;
    .tan();
    -webkit-box-pack:justify;
    -webkit-box-align: center;
    span{
        display: block;
    }
    span:nth-child(2){
        color: white;
        font-size: 16px;
    }
}
nav{
    width: 90%;
    .px2rem(height,380);
    border: 2px solid #ebebeb;
    border-radius:10px;
    position: absolute;
    top:80px;
    left: 17px;
    background: #ffffff;
    ul li{
        .px2rem(height,90);
        border-bottom: 2px solid #f1f1f1;
        list-style: none;
        .tan();
        color: #1e1e1e;
        -webkit-box-align: center;
        -webkit-box-pack:justify;
        span:nth-child(1){
            .pl(20);
        }
        span:nth-child(2){
            .pr(20);
        }
        span{
            display: block;
        }
    }
    li:nth-child(4){
        border-bottom: none;
    }
    
}
.nav_a{
     width: 90%;
    .px2rem(height,180);
    border: 2px solid #ebebeb;
    border-radius:10px;
    position: absolute;
    top:300px;
    left: 17px;
    background: #ffffff;
    ul li{
        .px2rem(height,90);
        border-bottom: 2px solid #f1f1f1;
        list-style: none;
        .tan();
        color: #1e1e1e;
        -webkit-box-align: center;
        -webkit-box-pack:justify;
        span:nth-child(1){
            .pl(20);
        }
        span:nth-child(2){
            .pr(20);
        }
        span{
            display: block;
        }
    }
    li:nth-child(2){
        border-bottom: none;
    }
}
.nav_b{
     width: 90%;
    .px2rem(height,98);
    background: #e93c71;
    position: absolute;
    top:400px;
    left: 17px;
    border-radius: 10px;
    text-align: center;
    line-height: 48px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}
footer{width: 100%;
    .px2rem(height,90);
    background: #484850;
    position: fixed;
    bottom: 0;
    color: white;
    ul li{
        list-style: none;
        -webkit-box-flex: 1;
        color: white;
    }
    ul{
        .tan();
        text-align: center;
         -webkit-box-align: center;
    }
    span{
        display: block;
    }
}
